<template>
  <div id="app">
    <keep-alive>
      <transition name="slide" mode="out-in">
        <router-view class="mybox"></router-view>
      </transition>
     </keep-alive>
  </div>
</template>

<style lang="scss">
.mybox{
  width:100%;
  height:100%;
  padding-top:50px;
}
</style>
